package neu.edu.cn.nuemall.service;

import neu.edu.cn.nuemall.entity.Userinfo;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.util.List;

public interface UserinfoService extends UserDetailsService {
    public int addUser(Userinfo userInfo);
    public List<Userinfo> getUserList(Userinfo userinfo);

    public String getCurrentUser();

    public Userinfo getUserByName(String number);
}
